package com.wlyy.his.ali.auth;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 配置类
 * @author zhouyanhui
 */
@Configuration
public class AliAuthConfiguration {

    /**
     * 将AliMiniAuthUtilj添加到容器
     * @return AliMiniAuthUtil
     */
    @Bean
    public AliMiniAuthUtil getMiniAuthUtil(){
        return new AliMiniAuthUtil();
    }
    /**
     * 将AliAuthProperties添加到容器
     * @return AliMiniAuthUtil
     */
    @Bean
    public AliAuthProperties getAliAuthProperties(){
        return new AliAuthProperties();
    }
}
